$(function () {
    //JavaScript代码区域
    layui.use('element', function () {
        var element = layui.element;

    });
    //layui内容部分对象
    var contentObj = $("#content");
    //商品查询按钮
    $("#findTbItemAll").click(function () {
        contentObj.attr("src", "/showItem.jsp").attr("height", "1000px");
    })
    $("#showAddItem").click(function () {
        contentObj.attr("src", "/showAddItem.jsp").attr("height", "1500px");
    })
    $("#showAddParam").click(function () {
        contentObj.attr("src", "/showAddParam.jsp").attr("height", "1500px");
    })
    $("#showContentCategory").click(function () {
        contentObj.attr("src", "/showContentCategory.jsp").attr("height", "800px");
    })
    $("#showContent").click(function () {
        contentObj.attr("src", "/showContent.jsp").attr("height", "800px");
    })
})